package reading.common.setting;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yangbajing(yangbajing @ gmail.com) on 2017-08-02.
 */
@Component
@ConfigurationProperties(prefix = "reading.executor")
@Data
public class ExecutorSetting {
    private int corePoolSize;
    private int maxPoolSize;
    private int queueCapacity;
}
